import request from '@/utils/request'

// 阿里支付
export function alipay(alipayBean) {
  return request({
    url: '/pay/alipay',
    method: 'post',
    data: alipayBean
  })
}

// 微信二维码支付
export function createWeixinQr(payEntity) {
  return request({
    url: '/pay/createWeixinQr',
    method: 'post',
    data: payEntity
  })
}

// 查询支付结果
export function getPayResult(payId) {
  return request({
    url: '/pay/getPayResult?payId=' + payId,
    method: 'get'
  })
}


